package com.cskaoyan.service;

import com.cskaoyan.bean.*;

import java.util.List;

/**
 * @author
 * @date 2020/12/5 20:36
 */
public interface UserService {
    ListData<User> queryList(Integer page, Integer limit, String sort, String order, String username, String mobile);

    ListData<Address> queryAddressList(Integer page, Integer limit, String sort, String order);

    ListData<Collect> queryCollectList(Integer page, Integer limit, String sort, String order, Integer userId, Integer valueId);

    ListData<Footprint> queryFootprintList(Integer page, Integer limit, String sort, String order, Integer userId, Integer goodsId);

    ListData<SearchHistory> queryHistoryList(Integer page, Integer limit, String sort, String order, Integer userId, String keyword);

    ListData<Feedback> queryFeedbackList(Integer page, Integer limit, String sort, String order, Integer id, String username);

    List<User> selectUserByUsername(String username);

    List<String> selectPermissionByUserId(Integer userId);

    UserInfo selectUserInfo(Integer userId);
}
